package com.cy.jdk8.stream.demo2;

import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@AllArgsConstructor
class Person {
	private String name;
	/** 薪资 */
	private int salary;
	private int age;
	private String sex;
	/** 地区 */
	private String area;

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
